package com.sqx.modules.fiction.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 类别表
 * </p>
 *
 * @author author
 * @since 2024年09月03日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("n_type")
public class NType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 类型id
     */
    @TableId(value = "type_id", type = IdType.AUTO)
    private Integer typeId;

    /**
     * 类别名称
     */
    @TableField("type_name")
    private String typeName;

    /**
     * 创建时间
     */
    @TableField("create_itime")
    private LocalDateTime createItime;

    /**
     * 修改
     */
    @TableField("update_time")
    private LocalDateTime updateTime;

    @TableField("delete_time")
    private LocalDateTime deleteTime;

    /**
     * 是否展示：0否1是
     */
    @TableField("type_status")
    private Integer typeStatus;

    /**
     * 删除状态：0删除1正常
     */
    @TableField("type_del_status")
    private Integer typeDelStatus;


}
